package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Approval implements Serializable {
    private static final long serialVersionUID=1L;
    @TableId(type= IdType.AUTO)
    private Integer id; //ID
    private String applicant; //申请人
    private Integer applicantId; //申请人id
    private Integer type; //申请类型 0请假 1加班 2离职
    private String reason; //申请原因
    private String applyTime; //申请时间
    private Integer status; //申请状态 0待审批 1已通过 2已拒绝 3已撤销
}
